import { createRouter, createWebHashHistory, createWebHistory } from 'vue-router';

const router = createRouter({

  history: createWebHashHistory(),

  routes: [

    { path: '/', component: () => import('@/views/Home.vue') },
    { path: '/musiclist', component: () => import('@/views/Musiclist.vue') },
    { path: '/search', component: () => import('@/views/Search.vue') },
    { name: 'mv', path: '/mv/:mvid?', component: () => import('@/views/Mv.vue') },

  ]

})

export default router

